package com.booksystem.campuslibrarymanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("账户表")
@TableName("account_table")
public class AccountTable {

    @ApiModelProperty("账户id（学号）")
    private String account;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("盐值")
    private String salt;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("身份码（admin管理员，approval审批,user用户）")
    private String identity;

    @ApiModelProperty("id")
    private int id;

    @ApiModelProperty("状态（已通过，未通过，已停用）")
    private String state;
}
